package lmscript.postscript.syntax;

public class PSInteger extends PSNumber {

	private int value;

	public PSInteger(int value) {
		super("int");
		this.value = value;
	}

	public PSInteger(String text) {
		this(Integer.parseInt(text));
	}

	@Override
	public Number getNumber() {
		return new Integer(value);
	}
}
